package com.nami.ucenter.domain.convertor;


import com.nami.gate.external.basic.cache.user.UserDeviceRel;
import com.nami.ucenter.domain.model.UserModel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户convert
 *
 * @author lbc@test.com
 * @since 1.0.0 2022-11-29
 */
@Mapper
public interface UserConvert {

    UserConvert INSTANCE = Mappers.getMapper(UserConvert.class);

    /**
     * clone
     *
     * @param userWrap
     * @return
     */
    UserDeviceRel convert3(UserDeviceRel userWrap);

    UserDeviceRel convert(UserModel userModel);
}






















